package cn.weblog.api.service.impl;

import cn.weblog.api.dao.KeywordDao;
import cn.weblog.api.domain.Keyword;
import cn.weblog.api.service.KeywordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class KeywordServiceImpl implements KeywordService {

	@Autowired
	private KeywordDao keywordDao;

	@Override
	public List<Keyword> findTop10() {
		return keywordDao.findTop10();
	}
}
